@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800;900&family=Paytone+One&family=Rubik:wght@300;500;700&display=swap');
:root {
    --gray-light: #1b1d23;
    --gray-dark: #131519;
    --gray-darkest: #0d0f11;
    --brand-coal: #0f0d0e;
    --brand-charcoal: #231f20;
    --brand-charcoal-muted: #1b1918;
    --brand-gray: #262522;
    --brand-yellow: #fcba28;
    --brand-pink: #f38ba3;
    --brand-green: #0ba95b;
    --brand-purple: #7b5ea7;
    --brand-beige: #f9f4da;
    --brand-blue: #12b5e5;
    --brand-orange: #fc7428;
    --brand-red: #ed203d;
    --brand-white: #fff;
    --red: var(--brand-red);
    --white: var(--brand-beige);
    --purple: var(--brand-purple);
    --black: var(--brand-coal);
    --blue: var(--brand-blue);
    --pink: var(--brand-pink);
    --gold: var(--brand-yellow);
    --aqua: var(-- brand-blue);
    --gray: var(--brand-gray);
    --yellow: var(--brand-yellow);
    --green: var(--brand-green);
    --orange: var(--brand-orange);
    --charcoal: var(--brand-charcoal);
    --coal: var(--brand-coal);
}

html {
    font-family: Outfit, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: max-content;
}

body {
    background: var(--brand-coal);
}

nav {
    margin-top: 90px;
    position: fixed;
    width: auto;
    height: 50px;
    z-index: 1;
    background: none;
    border-radius: 15px;
    backdrop-filter: blur(7px);
    align-items: center;
    display: flex;
    justify-content: center;
}

header {
    margin: auto 0;
    display: flex;
    align-items: center;
    width: auto;
    justify-content: center;
    z-index: 20;
}

nav ul {
    padding: 25px;
    text-align: center;
    align-content: center;
}

nav ul li {
    text-align: center;
    display: inline-block;
    padding: 1rem;
    padding-inline-start: 3rem;
    color: white;
    font-size: 20px;
    font-family: "Rubik", sans-serif;
    font-weight: 500;
}

nav ul li a {
    text-decoration: none;
    color: white;
}

nav ul li a:hover {
    border-bottom: 2px solid var(--white);
    transition: all 0.4s ease-in-out;
    transform-origin: 3px;
    padding-bottom: 5px;
    color: var(--white);
}


/* section-1 */

.magicpattern {
    background: radial-gradient(circle, #1b1d23 10%, transparent 11%), radial-gradient(circle at bottom left, #1b1d23 5%, transparent 6%), radial-gradient(circle at bottom right, #1b1d23 5%, transparent 6%), radial-gradient(circle at top left, #1b1d23 5%, transparent 6%), radial-gradient(circle at top right, #1b1d23 5%, transparent 6%);
    background-size: 2em 2em;
    background-color: #0f0d0e;
    opacity: 1;
}

.top-cont section {
    height: 300px;
    position: relative;
    margin: 7rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-color: #f9f4da;
    border-radius: 1rem;
}

.top-cont section h3 {
    font-family: Paytone One, sans-serif;
    color: var(--brand-yellow);
    -webkit-text-stroke: 0.1px black;
    letter-spacing: 1px;
    font-size: 2.4rem;
    text-align: center;
}

.top-cont section p {
    font-family: Inter, sans-serif;
    color: #0a001a;
    font-weight: 300;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
    text-align: center;
    margin: 15px;
}

.main-cont section {
    height: 700px;
    position: relative;
    margin: -7rem 4rem 0rem 4rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    border-radius: 1rem;
}

.flex-cont {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.flex-cont .card {
    display: flex;
    flex-direction: column;
    height: 400px;
    width: 28%;
    border-radius: 1rem;
    background-color: var(--brand-beige);
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}

.card p {
    text-align: center;
    position: relative;
    top: -1rem;
}

.flex-cont .card .title a {
    position: relative;
    top: -1.5rem;
    letter-spacing: 3px;
    font-size: 30px;
    font-weight: 800;
    font-family: Paytone One, sans-serif;
    color: var(--brand-yellow);
    /* font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji; */
    -webkit-text-stroke: 0.1px black;
}

.flex-cont .card img {
    height: 200px;
}

.card .badge-cont {
    flex-wrap: wrap;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    align-content: center;
    gap: 5px;
}

.card .badge-cont .badge {
    border: 1px solid #0a001a;
    padding: 0.3rem 1rem;
    border-radius: 0.8rem;
    font-size: .715rem;
    position: relative;
    font-family: Inter, sans-serif;
    color: #0a001a;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-align: center;
}